<template>
  <div class="gl_contentBox gl_heightFull">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="注册账户修改密码" name="first">
        <tabChange />
      </el-tab-pane>
      <el-tab-pane label="个人资料绑定账号查询" name="second">
        <tabSearch />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import tabChange from './tabChange';
import tabSearch from './tabSearch';

export default {
  name: 'Account',
  components: {
    tabChange,
    tabSearch
  },
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

